From: Bastien Nocera Date: Mon, 13 Feb 2017 10:11:26 +0000 (+0100) Subject: portalHelper: Fix signal arguments X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~561 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b5bf82b5db59d7ac5813967de4f284f360ea9ead;p=gnome-shell.git portalHelper: Fix signal arguments How did this work in tests?! https://bugzilla.gnome.org/show_bug.cgi?id=778552 --- diff --git a/js/portalHelper/main.js b/js/portalHelper/main.js index 6070af2cc..a32213706 100644 --- a/js/portalHelper/main.js +++ b/js/portalHelper/main.js @@ -192,7 +192,7 @@ const PortalWindow = new Lang.Class({ return false; }, - _onLoadChanged: function(loadEvent) { + _onLoadChanged: function(view, loadEvent) { if (loadEvent == WebKit.LOAD_STARTED) { this._headerBar.setSecurityIcon(PortalHelperSecurityLevel.NOT_YET_DETERMINED); } else if (loadEvent == WebKit.LOAD_COMMITTED) { @@ -206,7 +206,7 @@ const PortalWindow = new Lang.Class({ } }, - _onInsecureContentDetected: function (insecureContentEvent) { + _onInsecureContentDetected: function () { this._headerBar.setSecurityIcon(PortalHelperSecurityLevel.INSECURE); },